Thank you for purchasing our script. If you have any questions that are beyond the scope of this help file, please feel free to email via
our user page contact form here. You can also directly send an email to codingest@gmail.com by adding your purchase code to your email. Thanks so much!
Introduction
Modesy is a marketplace and classified ads script that you can sell physical and digital products.
It allows you to use marketplace and classified ads options at the same time.
You can use this script as a multi-vendor store or you can use it as a store where you can sell your own products.
It has clean, responsive and user-friendly desing. You can manage almost everything in your site with its powerful Admin panel. It is secure, SEO-optimized, fast, fully customizable and easy to use.
Technologies used:
PHP CodeIgniter
HTML 5
CSS 3
Bootstrap 4
JQUERY
AJAX
Key Features:
Clean and Responsive Design
Built Using Bootstrap 4
Totally Secure System
Seo Optimized
SEO-Friendly URL
Selling Physical Products
Selling Digital Products
Selling License Keys
Bidding System
Classified Ads (Adding a product or service as an ordinary listing)
Multi-Vendor System (With enable & disable option)
Multilingual System (Any language can be added easily)
Accept Payments via PayPal, Stripe, PayStack, Razorpay, PagSeguro and Iyzico Payment Gateways
Accept Payments via Bank Transfer (Offline payment)
Cash on Delivery
Guest Checkout
Shipping Options
Earnings
Payouts
PayPal, IBAN and SWIFT Payment Options for Payouts
Currency Options (With different currency format options)
Email Notifications
Commission Rate for Sales
Bank Transfer Notifications
Editable & Sortable Navigation (With mega menu)
Responsive & Sortable Slider (With show & hide Option)
Promoted Products (With enable & disable option and editable Daily and Monthly pricing)
Pending Products
Hidden Products
Drafts
Product Location Map
Image, Video, Audio and URL Preview Options
Add, Edit, Delete Unlimited Product Categories
Custom Fields System (A new field can be added easily)
Product Variations (Add available options, like color or size that buyers can choose during checkout)
AWS S3 Integration
Cache System
RSS Feeds
Social Login (Facebook, Google and VKontakte)
Payment Settings
Advance Search (Products and Members)
Filter & Sort Porducts
Member Profile Pages
Last Seen Time
Update Profile Information & Change Password
Location Settings & Social Links for Members
Favorites (Add & Remove from List)
Follow & Unfollow Members
Messaging System (With notification)
Seller Widget
Related Products
Pageview Counts
Social Sharing
Lazy Image Loading
Blog Section
Add, Edit, Delete Unlimited Blog Posts
Add, Edit, Delete Unlimited Blog Categories
Dynamic Tag System for Blog Posts
Comment System for Blog Posts (With enable & disable option)
Adding Unlimited Fully Editable Pages
Show & Hide Options for Page and Page Title
Editable Location Database
Multi-Countries and One Country Options (You can use only for your country)
Responsive Ad Spaces for Any Kind of Ad Codes (Including Adsense)
Create Ad Codes
Review System (With enable & disable option)
Comment System (With enable & disable option)
Comment Approval System (With enable & disable option)
Facebook Comments
Newsletter (Send email to subscribers)
HTML Email Template
Membership System with 3 Roles (Admin, Vendor, Member)
Secure Authentication
Vendor Verification System(With verified icon)
Email Verification System (With enable & disable option)
Password Reset
Add New Administrators
Manage Registered Users
Ban User Accounts
Maintenance Mode
Seo Tools
Sitemap.xml Generator with Cron Job Function
Contact Page (With Google Map and send contact messages to email address option)
Editable Admin Panel Link
Editable Product Link Structure
12 Layout Colors
Visual Settings
Watermark System
Change Logo, Favicon, Site Title, Site Description, etc. from Admin Panel
Google reCAPTCHA Integrated
Rich Text Editor
Cookie Warning for GDPR
Social Media Links
Google Analytics
Advanced Settings Options
Form Settings
Easy Installation Using Installation Wizard
Detailed Documentation
Runs on PHP 5.6, 7.0, 7.1, 7.2, 7.3, 7.4
Security:
Modesy is a secure system. There are various mechanisms to secure application. These mechanisms are:
Cross-Site Request Forgery (CSRF) Prevention
Cross-Site Scripting (XSS) Prevention
Password Hashing
Avoiding SQL Injection
Requirements:
There are some requirements for Modesy to work on your server. These requirements are:
PHP >= 5.6
cURL PHP Extension
Mbstring PHP Extension
Files
a) CSS Files
AdminLTE.min.css and _all-skins.min.css: Contains general css codes for admin panel.
script.js: Contains custom script codes. There are custom functions and ajax post functions
jquery.cookie.js: JavaScript library for handling cookies
plugins.js: Contains javascript plugins for front-end.
Js files are separated into sections using:
//ajax post delete image
code
//datatable function
code
etc, etc.
c) Plugins
Plugins used in application:
jQuery
jQuery is a Javascript library that greatly reduces the amount of code that you must write.
jQueryUI
jQuery UI is a curated set of user interface interactions, effects, widgets, and themes built on top of the
jQuery JavaScript Library.
Ckeditor
CKEditor is a browser-based WYSIWYG content editor.
Datatables
DataTables is a plug-in for the jQuery Javascript library. It is a highly flexible tool, based upon the
foundations of progressive enhancement, and will add
advanced interaction controls to any HTML table.
ICheck
Highly customizable checkboxes and radio buttons.
Tagsinput
jQuery plugin providing a Twitter Bootstrap user interface for managing tags
Magnific Popup
Jquery Gallery plugin
Owl-Carousel
Responsive jquery slider plugin
Sweetalert
Jquery-confirm plugin
License System
According to the Envato license terms, you can use this script on only one domain at the same time. Before installing, you have to create a license key for your domain from this page: http://license.codingest.com/modesy-license
Your license code won't work on other domains. If you want to change your domain, you can always send an email to codingest@gmail.com. You do not need to have support for license issues. Even if you don't have support, you can send us an email for all your license problems. This is a completely free service.
Localhost License
If you want to install the script to your localhost, you can create a second license code with "http://localhost/" domain. This license code will not affect your main license code.
Moving the Site to Another Server
If you want to move your site to another server, you need to follow these steps:
Move all your files on the FTP to the new directory.
Export your database in ".sql" format. Create a database on your new server and import your .sql file to your new database.
Open your database via phpMyAdmin and change the license code in general_settings>mds_key column.
Open "application/config/database.php" file and enter your new database credentials.
'hostname' => ' ',
'username' => ' ',
'password' => ' ',
'database' => ' ',
Also, if you want to move your script to your main domain after making some changes on localhost, you can follow these steps.
The license system is an offline system. Your site is not connected to another system. Your site connects to our license API only during the installation and update processes to verify the license code.
1. Create a new Database with user that has all permissions.
Go to cPanel and Click MySQL® Databases
Create New Database
Add New User
Add User To Database
Set User Permissions
2. Upload script files to your hosting (FTP).
Open your cPanel and go to File Manager section.
Go to main directory of your site. Most of the time this folder will be "public_html".
Open this folder and upload codecanyon-modesy-buy-sell-used-stuff.zip file to this folder.
Rigth click the .zip file and select Extract option.
Move all files that in the "modesy-v.." folder to main directory.
Delete unnecessary files/folders: "documentation", "modesy-v.." and "codecanyon-modesy-buy-sell-used-stuff.zip".
Make sure that the .htaccess file exists in this directory. If you cannot see it, click Settings button at the top right corner and select Show Hidden Files (dotfiles) option.
Also, cPanel can automatically change the content of this file. Please open this file and make sure the content of this file is like .htaccess below.
If you are using NGINX server, .htaccess will not work on your server. In this case, you need to make these settings in your server: NGINX configuration for CodeIgniter
3. You will see this page after uploading all files to your FTP. Click "Install" to proceed.
If you cannot see this page, you can access install page by entering this link to your browser address bar: http://yourdomain.com/install
4. Click "Generate License Code" button and generate your license code. Enter your license code and then click Next.
If you want to test it on local server, you can generate a second license with http://localhost domain.
5. Check system requirements. If one of these extensions is not enabled, you must enable it from your server settings. If all requirements are provided, click Next.
6. Check folder permissions. If all folders are writable, click Next.
7. Enter your database credentials. Click next.
If you want to change your database credentials later, you can edit application/config/database.php file.
8. Select your Timezone and Enter your admin credentials. Click finish.
8. Delete the install folder.
After installation, if you see "404 Not Found" error or if you can not login to your site, please check your main directory.
There should be a .htaccess file. If you don't have this file, none of your links will work. You can find this file in the main directory of script files.
Depending on the operating system you are using, such setting files may be hidden in your computer. In this case, you may not see this file.
If you can't see this file, you can create a new file named .htaccess in the main directory of your site and you can paste the following codes to your .htaccess file.
If your server automatically redirects to HTTPS, you don't need to update your .htaccess file.
File Upload Settings
If you want to upload large files, you may need to make some settings on your server. Also, Modesy performs image optimization while uploading images. This optimization uses memory.
If you try to upload large files without doing some settings on your server, you can get an error.
If you can't upload large files, you need to set these PHP values. These are recommended minimum values.
With these settings, you can only upload files up to 32 MB in size. If you want to upload larger files, you need to increase the "32M" value.
If you think your upload will take more than 30 seconds, you can increase the max_execution_time value also.
If you cannot upload large files after making these settings, you may need to increase client_max_body_size value in your server.
To set these values follow the steps:
Go to your cPanel and click "Select PHP Version"
Then click "Switch to PHP Options"
Then set the values "upload_max_filesize", "post_max_size" and "memory_limit" as you see in the picture.
If you can not reach these settings, please contact your hosting provider and ask them to make these settings.
Quick Start
✓ Accessing Admin Panel: After installation, you will be redirected to home page. Login with your Admin email and password.
After login, you will see your username in the navigation, click your username and click "Admin Panel" link on the dropdown menu.
✓ Updating Profile Information: Go to the main navigation, click your username and click "Settings" link on the dropdown menu.
In this page you can edit your Email Address, Username, Slug and you can add some text about yourself.
✓ Changing Admin Password: Go to the main navigation, click your username and click "Settings" link on the dropdown menu. Then click "Change Password" tab. Fill in the form and change you password.
✓ Updating Contact Information: Go to the main navigation, click your username and click "Settings" link on the dropdown menu.
Then click "Contact Informations" tab. Fill in the form and update your location information.
✓ Adding Social Links to Your Profile: Go to the main navigation, click your username and click "Settings" link on the dropdown menu.
Then click "Social Media" tab. Fill in the form and update your social links.
✓ Adding Slider Item : Open your Admin Panel, go to "Slider" section from navigation and click "Add Slider Item" link, then fill in the form and click Add Slider Item button.
Then click "Social Media" tab. Fill in the form and update your social links.
✓ Adding Product : Click "Sell Now" button that in the main navigation, then fill in the form and click Submit button. Then select your Pricing plan and add your product.
✓ Approving Product : Open your Admin Panel, go to "Products" section from navigation and click "Pending Products" link, find the product that will be approved. Then click "Select an option" button
and click "Approve" option.
✓ Adding Product Category: Open your Admin Panel, go to "Categories" section from navigation and click "Add Category" link, then fill in the form and click Add Category button.
✓ Adding Page: Open your Admin Panel, go to "Pages" section from navigation and click "Add Page" link, then fill in the form and click Add Page button.
✓ Adding Blog Post: Open your Admin Panel, go to "Blog" section from navigation and click "Add Post" link, then fill in the form and click Add Post button.
✓ Adding Blog Category: Open your Admin Panel, go to "Blog" section from navigation and click "Categories" link, then fill in the "Add Category" form and click Add Category button.
✓ Send Email to Subscribers: Open your Admin Panel, go to "Newsletter" section from navigation, then fill in the mail form and click Send Email button.
✓ Social Login Configuration: Open your Admin Panel, go to "Social Login Configuration" section from navigation, then fill in the form and click Save Changes button.
✓ Generating Sitemap: Open your Admin Panel, go to "Seo Tools" section from navigation, then click Download Sitemap button. Also you can generate your sitemap directly in your FTP
by clicking Update Sitemap button.
✓ Running Ads: If you want to add your ad codes to your website, this is very easy in the Modesy. Open your Admin Panel, go to "Ad Spaces" section from navigation,
add your ad codes then click Save Changes button.
✓ Managing Locations: Modesy has editeble countries and states/cities database. You can manage your locations from Location Settings section. Open your Admin Panel, go to "Location Settings" section from navigation.
If you want to edit countries, click Countries link. If you want to edit states/cities, click States link.
✓ Managing Languages: Open your Admin Panel, go to "Language Settings" section from navigation. If you want to add a new language, fill in the "Add Language" form and click Add Language button.
If you want to change default language, select the language from "Default Language" form and click Save Changes button. If you want to edit translations, find the language from "Languages" list and click
"Select an option" button, then click "Edit Translations" option and edit translations.
✓ Making Email Settings: Open your Admin Panel, go to "Email Settings" section from navigation, then fill in the "Email Settings" form and click Save Changes button.
✓ Making Payment Settings: Open your Admin Panel, go to "Payment Settings" section from navigation, then select options in the "Payment Settings" form and click Save Changes button.
You can manage daily and mounthly price from "Pricing" form. You can set your payment accounts in Paypal Account and Stripe Account forms.
Admin Panel
There are some counters in the Admin panel's home page. These counters:
Products: Shows products count
Pending Products: Shows pending products count
Blog Posts: Shows blog posts count
Members: Shows members count
Orders: Shows orders count
In addition to these counters, there are also sections that show latest records:
Latest Orders: Shows last added orders
Latest Transactions: Shows last transactions
Latest Pending Products: Shows last added pending products
Latest Products: Shows last approved products
Latest Transactions (Promoted Products): Shows last transactions for promoted products
Latest Product Reviews: Shows last added products reviews
Latest Members: Shows last registered members
Navigation
You can select your navigation desing from this section. Menu Limit: You can set the number of links to appear in the menu. Other links will appear in the dropdown.
Slider
You can add, update or delete your slider items from this section.
Add Slider Item: Go to "Slider" section from navigation and fill out the Add Slider Item form.
Language:Language of the slider item.
Title: Title that will be displayed on slider image.
Description: Description that will be displayed on slider image.
Link: The URL that will be opened when this slider item clicked.
Order: Order value of the slider item.
Button Text: The text that will be showed on your button. (Buy now, shop now, etc..)
Text Color: You can select a color for texts on your slider.
Button Color: You can select a color for slider button.
Button Text Color: You can select a color for slider button text.
Animations: Modesy has different animation options for title, description and button on the slider. You can select different animations for your slider items.
Image: Your slider image.
Update Slider Item: You can edit your slider items by clicking "Select an option" button and selecting "Edit" option.
Delete Slider Item: You can delete your slider items by clicking "Select an option" button and selecting "Delete" option.
Slider Settings
Status:You can enable & disable slider with this option.
Type: Modesy has full-width and boxed slider options. You can select your slider type with this option.
Effect: You can select slide or fade affect for your slider. Default will be "fade".
Orders
You can see and manage ordes from this section.
Orders: Go to "Orders" section from navigation and click Orders link.
View Details: You can view all order details by select this option.
Completed/Processing: You can change order status by selecting these options.
Payment Received/Payment Not Received: You can change order payment status by selecting these options.
Delete: You can delete an order with this option.
Transactions: Go to "Orders" section from navigation and click Transactions link.
You can see payment transactions from this section.
Bank Transfers Notifications: Go to "Orders" section from navigation and click Bank Transfers Notifications link.
Buyers can report their Bank Payments from order details page. You can see these reports and you can approve & decline these requests from this section.
Invoices: Go to "Orders" section from navigation and click Invoices link. You can see all created invoices from this section.
Digital Sales
You can see all digital sales from this page. If you delete a digital sale, it will be deleted from buyers downloads page.
Products
You can manage products from this section.
Products: You can see approved products from this page. Promoted Products: You can see approved promoted products from this page. Pending Products: You can see pending products (vaiting for approval) from this page. Hidden Products: You can see hidden products from this page. Sold Products: You can see sold products from this page. Drafts: You can see drafts from this page. Deleted Products: You can see deleted products from this page.
Options: You can see options by clicking "Select an option" button on each page.
View Details: You can see all details of a product by selecting this option.
Edit: You can edit a product by selecting this option.
Delete: You can delete a product by selecting this option.
Delete Permanently: If you want to delete a product with images and all other connected records, you can select this option.
Add to Featured: You can add a product to featured products by selecting this option.
Remove from Featured: You can remove a product from featured products by selecting this option.
Approve: You can approve a product by selecting this option.
Featured Products
Products: You can see approved featured products from this section. Pricing: You can determine daily and monthly promoted price from this section. Transactions : You can see transections for featured products payments from this section.
Quote Requests
You can see all quotue requests that sent to the sellers from this section.
Categories
You can add, update or delete categories from this section.
Add Category: Go to "Categories" section from navigation and click Categories. Then fill in the Add Category form.
Category Name: Category name. You should enter according to language.
Slug: Slug for SEO friendly url. You can add custom slug. If you leave it empty, it will be generated automatically.
Description: You can add Description (Meta Tag) for category.
Keywords: You can add Keywords (Meta Tag) for category.
Order: Your categories will be listed according to this order.
Homepage Order: Your featured categories will be listed according to this order.
Parent Category: You can select a top (parent) category.
Visibility: You can hide and show a cateogory with this option.
Show on Homepage: You can add your cateory to featured categories with this option.
Image: Category image.
Update Category: Go to "Categories" section from navigation and click Categories link. Find category that you want to edit and select "Edit" option by clicking "Select an option" button.
Then make your edits and click "Save Changes" button.
Delete Category: On the same list you can delete categories by selecting "Delete" option for each category.
Custom Fields
Custom fields let you add new fields to "Sell Now" page. Like brand, color, size... You can add, update or delete custom fields from this section.
Add Custom Field: Go to "Custom Fields" section from navigation and click Add Custom Field. Then fill in the Add Custom Field form.
Field Name: Field name. You should enter according to language.
Row Width: Field will be displayed according to this option. If you select "Full Width", it will be displayed in 100% width. If you select "Half Width", it will be displayed in 50% width.
Required: You can determine whether this field is required or not.
Status: You can enable or disable field.
Order: Custom fields will be displayed according to this order.
Type: From this section you can select appropriate input type for the custom field.
Update Custom Field: Go to "Custom Fields" section from navigation and click Custom Fields link. Find custom field that you want to edit and select "Edit" option by clicking "Select an option" button.
Then make your edits and click "Save Changes" button.
Delete Custom Field: On the same list you can delete custom fields by selecting "Delete" option for each field.
Earnings
Earnings: Go to "Earnings" section from navigation and click Earnings link.
You can see seller earnings from this section.
Seller Balances: Go to "Earnings" section from navigation and click Seller Balances link.
You can see balance and number of total sales of all sellers from this section. You can edit number of sales and balances by selecting edit option.
Payouts
Add Payout: Go to "Payouts" section from navigation and click Add Payout link.
You can add a payout for a seller from this section.
Payout Requests: Go to "Payouts" section from navigation and click Payout Requests link.
Sellers can withdraw their money by adding a payout request. Admin will send seller money and click "Completed" option for the request.
Payout amount will be decreased from seller balance.
Completed Payouts: Go to "Payouts" section from navigation and click Completed Payouts link.
You can see completed payouts from this section.
Payout Settings: Go to "Payouts" section from navigation and click Payout Settings link.
You can select payouts methods and you can determine minimum payout amounts from this section.
Pages
You can add, update and delete pages from this section.
Add Page: Go to "Pages" section from navigation and click Add Page link. Then fill in the form.
Title: Page title.
Slug: Slug for SEO friendly url. You can add custom slug. If you leave it empty, it will be generated automatically.
Description: You can add Description (Meta Tag) for page.
Keywords: You can add Keywords (Meta Tag) for page.
Language: Page will be displayed according to this language
Order: Pages will order according to this value.
Location: You can select page link location.
Visibility: You can hide or show page.
Content: Page content.
Update Page: Go to "Pages"" section from navigation and click "Pages" link. Find page that you want to edit and select "Edit" option by clicking "Select an option" button.
Then make your edits and click "Save Changes" button.
Delete Page: On the same list you can delete pages by selecting "Delete" option for each page.
Blog
You can manage blog posts and blog categories from this section.
Add Blog Post: Go to "Blog" section from navigation and click Add Post link. Then fill in the form.
Title: Post title
Slug: Slug for SEO friendly url. You can add custom slug. If you leave it empty, it will be generated automatically.
Summary & Description: You can add Summary & Description (Meta Tag) for post
Keywords: You can add Keywords (Meta Tag) for page
Language: Post will be displayed according to this language
Category: Post category
Tags: You can add tags for post
Image: Post image
Content: Page content
Update Blog Post: Go to "Blog" section from navigation and click "Posts" link. Find page that you want to edit and select "Edit" option by clicking "Select an option" button.
Then make your edits and click "Save Changes" button.
Delete Page: On the same list you can delete posts by selecting "Delete" option for each post.
Add Category: Go to "Blog" section from navigation and click Categories. Then fill in the Add Category form.
Language: Category will be displayed according to this language
Category Name: Category name
Slug: Slug for SEO friendly url. You can add custom slug. If you leave it empty, it will be generated automatically.
Description: You can add Description (Meta Tag) for category.
Keywords: You can add Keywords (Meta Tag) for category.
Order: Your categories will be listed according to this order.
Update Category: Go to "Blog" section from navigation and click Categories link. Find category that you want to edit and select "Edit" option by clicking "Select an option" button.
Then make your edits and click "Save Changes" button.
Delete Category: On the same list you can delete categories by selecting "Delete" option for each category.
Contact Messages
You can see the messages that users sent from the contact form on the site from this section.
If you want to delete a message from list, click the Select an option button and click delete.
Newsletter
The Newsletter allows you to share some updates and interesting things with the users.
You can see the all subscribers and you can send an email to these emails from this section.
Users
You can manage administrators and members from this section.
Add Administrator: You can add a new administrator from this page. Administrators: You can see administrators from this page. Vendors: You can see vendors from this page. A user can be deleted from vendors with "Close User Shop" option. Members: You can see members from this page. A user can be converted to a vendor with "Open User Shop" option. Shop Opening Requests: You can see shop opening requests from this page. You can approve or decline a request. Options:
Ban User: If you want to ban a member, you can select "Ban User" option by clicking "Select an option" button.
Edit: You can edit a user by selecting this option.
Delete: If you want to delete a member, you can select "Delete" option by clicking "Select an option" button.
Reviews
You can see all reviews that users added from this section. If you want to delete a review, you can select "Delete" option by clicking "Select an option" button.
Comments
Modesy has comment approval system. Only approved comments will be published in the site. If you want to disable this system and publish directly all the comments, you can disable this system from "Preferences" section in the Admin panel.
Pending Comments
You can see and approve the pending comments from this section.
Approved Comments
You can see and delete the approved comments from this section.
Storage
You can select your storage option from this section. If you select "Local Storage", all images will be stored to your server.
If you select "AWS S3 Storage" option, product, blog, category images will be stored to your AWS S3 account.
To use AWS S3, you should add your credentials from "AWS S3 Storage" form.
Enter your bucket name and select your region. Then click next.
Click next
Make your permissions settings and click next. Unclick these options or make the settings according to your needs.
Click Create bucket.
Click My Security Credentials.
Click Access keys tab. Then click Create New Access Key button and get your access keys.
You can enter these keys from "AWS S3 Storage" section in Admin panel.
Once you receive these keys, you can enter them from "AWS S3 Storage" form. You should enter your AWS base URL which can be changed according to your region to "AWS Base URL" field.
AWS Base URL
This is the main AWS base URL: https://s3.amazonaws.com/
If you cannot see your images after adding this base URL, then you need to add your region code to your base URL (s3.<region>.amazonaws.com):
For example, if your region code is "eu-west-1", this will be your base URL: https://s3.eu-west-1.amazonaws.com/
Cache System
You can enable or disable cache system from this section.
Modesy has database cache system. If you enable this sytem, your database data will be stored in files. Where there cache files, the system will not
retrive these records from database again and this will increase your site speed. It also helps to consume less of your server resources. These cache files are
stored in "application/cache" folder. It is recommended to enable this system if you have many products on your site.
Refresh Cache Files When Database Changes: If you select yes, the cache files will be refreshed, if there is a change in the database.
Cache Refresh Time (Minute) : Cache files will automatically refresh after this time.
SEO Tools
You can make your SEO settings from this section.
Google Analytics
You can add your Google Analytics code from here.
Generate Sitemap
You can generate a sitemap.xml file from this section.
Update Sitemap: This option will create a sitemap.xml file on your main directory. You can access this file with "http://domain.com/sitemap.xml" URL.
Download Sitemap: This option will download sitemap.xml file.
You need to create a cron job function to automatically update your sitemap. Read this section to see how you can add a cron job function in your server: Cron Job
This is the URL that you need to run with your cron job function: http://domain.com/cron/update-sitemap
**Do not forget to change "domain.com" with your domain name.
Cron Job
A cron job is a Linux command for scheduling a task to be executed sometime in the future. You can set a cron job to update your sitemap, scheduled posts or RSS feeds periodically.
Follow these steps to set up cron job:
Go to your cPanel and click cron jobs.
Select the time interval that the cron job will run and your command and create the cron job.
You need to paste these commads to "Command" field and you need to create a different cron job for each task.
**Do not forget to change "domain.com" with your domain name.
These commands may not work if you do not have a management panel on your server or if you are using another panel instead of cPanel.
Cron job can be added in different ways. If this command doesn't work, you need to contact your server provider and ask for help to create a cron job.
Ad Spaces
If you want to run ads on the site, you can add your ad codes from this section.
Because the ad spaces are responsive, you need to enter the code at different metrics for each ad.
Also you can create your ad codes by uploading banner image and adding ad URL.
Our ad spaces are responsive.
Each ad slot has 3 different sizes.
728x90 Banner: This ad will be shown on screens larger than 1200px 468x60 Banner: This ad will be shown on screens larger than 576px and smaller than 1200px 160x600 Banner: This ad will be shown on screens larger than 768px 300x250 Banner: This ad will be shown on screens larger than 768px 250x250 Banner: This ad will be shown on screens smaller than 576px
Google AdSense Code
You can add your Google AdSense code from this section. This code will be added to header of the site and it will be enabled for all pages. After adding this code, you can add your ad codes to ad spaces.
Our script does not make any changes in the ad codes you add. If you don't see ads on your site after adding your ad code, please check your ad code.
If you have added AdSense code and your ads are not displayed, you can wait for your ads to appear or you need to contact the AdSense support team. If your ads are not running, there may be a problem with your AdSense account. Our script does not affect your ad codes.
Location
You can manage countries, states and cities from this section.
Countries: You can add, edit and delete countries from this section. States: You can add, edit and delete states from this section. Cities: You can add, edit and delete cities from this section.
Password Reset
To use the Password Reset section, you need to make your Email Settings. The system will send a password reset link, so it is necessary to enter
a working email server credentials to use email system. You can read more about email settings from here.
If you have not set up your email settings yet and have forgotten your password, you can reset your password from your database.
To do this, open your database via phpMyAdmin. Click on the users table and find your account in this table. Paste the following code to your password column. Make sure there is no space at the beginning or the ending of the code.
$2a$08$drmgGpMVGzdyiv7q5LUt3eUne8xh05XKrJPgMKaR3RgRwCQKXZpdu
After adding this code to your password column, you can login with "1234" password.
Preferences
You can manage your site settings from this section.
General
Multilingual System: You can enable or disable multilingual system with this option.
RSS System: You can enable or disable RSS system with this option.
Vendor Verification System: You can enable or disable Vendor Verification system with this option. You can disable if you want to allow all users to add products.
Hide Vendor Contact Information on the Site: If you don't want to show vendors contact information in your site, you can select "No" for this option.
Guest Checkout: You can enable or disable Guest Checkout system with this option.
Homepage
Index Categories: You can show or hide index categories section with this option.
Index Featured Products: You can show or hide index featured products section with this option.
Index Latest Products: You can show or hide index latest products section with this option.
Index Blog Slider: You can show or hide index blog slider section with this option.
Index Number of Featured Products: You can set number of featured products that will be displayed on the index page with this field.
Index Number of Latest Products: You can set number of latest products that will be displayed on the index page with this field.
Products
Approve Products Before Publishing: If you don't want to approve seller products, you can disable it with this option.
Featured Products: If you don't want featured products in your site, you can select disable option.
Product Link Structure: You can select product URL structure with this option.
Reviews & Comments
Reviews: You can enable or disable review system with this option.
Product Comments: You can enable or disable product comment system with this option.
Blog Comments: You can enable or disable blog comment system with this option.
Comment Approval System: You can enable or disable comment approval system with this option. If you disable this system, the comments will be directly displayed in your site.
Form Settings
Form Settings: You can make all adjustments for the "Sell Now" page from this section. Shipping Options: You can add, edit or remove shipping options from this section. Product Conditions: You can add, edit or remove product conditions from this section.
Payment Settings
You can make your payment settings from this section.
Paypal Account:
Status: You can enable & disable PayPal with this option.
Mode: You can use PayPal in live mode or your can use it in test mode by selecting "Sandbox" option.
Client ID: You should add your Paypal API Client ID here.
Login to your account and click "My Apps & Credentials" from left menu. Then click "Create App" button.
Enter your app name and click "Create App" button.
Click "Live" tab.
Your API is ready. You can use these credentials.
Stripe Account:
Status: You can enable & disable Stripe with this option.
Publishable Key: You should add your Stripe API Publishable Key here.
Stripe API:
Log in to your Stripe dashboard.
Go to API in the left menu.
Your publishable key should be on this page. Before using generated secret keys you will need to use the toggle switch that says “Viewing test data”. You have to set it to ”Viewing live data”.
Click "Reveal live key token".
Iyzico Account:
Status: You can enable & disable Iyzico with this option.
Mode: You can use Iyzico in live mode or your can use it in test mode by selecting "Sandbox" option.
Api Key: You should add your Iyzico API Key here.
Secret Key: You should add your Iyzico API Secret Key here.
Type: Iyzico has Sanal POS and Marketplace options for payments. You can use one of these systems to accept payments. If you want to use Marketplace option, you need to have "Submerchant Key".
If you don't have this key, click "Create Key" button, enter your information and create your key.
You can generate your sandbox API keys from this page.
You can contact Iyzico team to generate your live API keys.
Other Payment Options: You should follow the similar steps for other payment options. To use a payment option, you need to generate an API and enter your API keys from the Payment Settings section in the Admin panel.
Bank Transfer:
You can add your bank accounts for offline payments from this field.
Status: You can enable & disable Bank Transfer with this option.
Cash On Delivery:
Status: You can enable & disable Cash On Delivery with this option.
Currency Settings
You can manage your currencies from this section.
Currency Settings: You can select default currency from this section.
Also you can select your currency format according to your country. Add Currency: You can add a new currency from this form. Currencies: You can see all currencies on this table and you can update or delete a currency with edit and delete options.
Email Settings
You can make your email settings from this section. To send emails, you must create a mail account on your server and you must enter your email account credentials to these fields.
Also, you can use Gmail server to send emails.
Mail Library: Modesy has 3 different email libraries. You can select one of them to send emails.
Mail Protocol: Your mail protocol (SMTP or Mail). Default SMTP. But some mail servers use Mail protocol. In this case you should set this value to Mail.
Mail Title: Your email title
Mail Host: Your mail server (E.g: mail.example.com)
Mail Port: Your mail port (Default: 587)
Mail Username: Your username (E.g: mail@example.com)
Mail Password: Your password
Sending Email with SMTP:
If you want to send emails with SMTP, you can select one of the email libraries from "Mail Library" field. Also, you must select "SMTP" from "Mail Protocol" field.
Sending Email with PHP Mail Function:
If you want to send emails with PHP Mail Function, you must select "CodeIgniter Mail" from "Mail Library" field and you must select "Mail" from "Mail Protocol" field.
Some servers may block sending emails with SMTP. In this case, you can try sending emails with the PHP Mail function by selecting "CodeIgniter Mail" library option and "Mail" protocol option.
Using Gmail Mail Server
1. Mail Library
If you select "Swift Mailer" or "PHP Mailer", you need to use these settings:
Mail Protocol: SMTP
Mail Host: smtp.gmail.com
Mail Port: 587
Mail Username: example@gmail.com (your email)
Mail Password: your email password
If you select "CodeIgniter Mail", you should use these settings:
Mail Protocol: SMTP
Mail Host: ssl://smtp.googlemail.com
Mail Port: 465
Mail Username: example@domain.com (your email)
Mail Password: your email password
2. You have to allow less secure devices from this url:https://myaccount.google.com/lesssecureapps
3. Go to settings in your Gmail account and click "Forwarding and POP/IMAP" tab.
4. Select Enable IMAP option.
After these settings you can use Gmail to send emails.
Using Yandex Mail Server
If you want to use Yandex mail server to send emails, you can use these settings:
Mail Library: Swift Mailer, PHP Mailer or CodeIgniter Mail
Mail Protocol: SMTP
Mail Host: smtp.yandex.com
Mail Port: 587
Mail Username: example@yandex.com (your email)
Mail Password: your email password
Some email libraries may not work on some servers. In this case, you need to try other email libraries. If you tried all possible email settings options
(including sending email with PHP Mail function) and if none of them does not work on your server, please contact your hosting provider. There could be a problem in
mail functions in your server. Also, please don't forget to check the spam box. Your mails can go to the spam box sometimes.
Using Amazon Simple Email Service (Amazon SES)
Amazon Simple Email Service (Amazon SES) is a cloud-based email sending service. You can create your Amazon SES account and send emails with this service.
This is not a free service, check this page for pricing: https://aws.amazon.com/ses/pricing/
If you want to use this service, follow these steps to make your email settings:
Click "Simple Email Service" under the Services menu
Click "SMTP Settings" link from left menu.
Click "Create My SMTP Credentials" button.
Click "Create" button.
Your credentials will be created after these steps.
After creating your credentials, you can add these credentials from Email Settings in the Admin panel.
You need to select "CodeIgniter Mail" for your "Mail Library" and you need to select "SendMail" for your "Mail Protocol" option.
Example:
Mail Library: CodeIgniter Mail
Mail Protocol: SendMail
Mail Host: email-smtp.us-east-1.amazonaws.com
Mail Port: 587
Mail Username: AKIAVIAANDJBBXXXXXXX
Mail Password: BPj7ailKjbITgyGF6brROnVIflfdfdydbdklsdsds
Email Verification: You can enable or disable email verification from this section.
Contact Messages : If you want to send contact messages to your email address, you can select "Yes" for "Send Contact Messages to Email Address" option by adding your email address.
Visual Settings
Visual Settings
You can make your visual settings from this section. You can change your site color, logo and favicon from this section. Watermark: If you want to add watermarks to your images, you need to upload a watermark from this section. Your watermark should be a transparent PNG image.
Font Settings
You can change your site font from this section. Add Font
If you want to add new fonts to your site, you can add them from this section. Follow these steps to add a new font:
Select "reCAPTCHA s2" and "I'm not a robot Checkbox" options and generate your API keys.
Maintenance Mode
If you want to prepere your site before going live or if you want to close your site to visitors, you can enable this mode. If you enable it, only Admin can access the site.
Other visitors will see a "Coming Soon!" text.
Language Settings
You can manage your language settings from this section.
Default Language: You can change your site default language from this form. Add Language: You can add a new language from this form. Languages: You can see your languages on this table and you can update or delete a language.
Also you can edit all translations in your language. To open translation page, click "Edit Translations" button.
Social Login Settings
You can make your social login settings from this section.
If you want to use social login, you need to enable SSL on your site. In other words, all your URLs should be HTTPS.
If SSL is enabled on your site and your server automatically redirects all of your URLs to HTTPS, you can set up your social login settings.
If your site does not redirect automatically, read the "SSL and .htaccess" section.
Enter your site URL and click "Save" button. It should be a HTTPS URL. E.g: https://modesy.codingest.com/
Click "Facebook Login > Settings" link from sidebar menu. Enter redirect URL: "https://domain.com/facebook-callback" and click "Save Changes" button.
Click "Settings > Basic" link from sidebar menu. Enter your domain to "App Domains" and "Privacy Policy
URL" fields. Select a category for your application and click "Save Changes" button.
Change your APP Status to "Live". Copy "App ID" and "App Secret" values from this page and enter these
values from "Social Login Configuration" section.
Select "Website" option and enter your domain to "Website address" and "Base domain" fields. Click "Connect
Site" button.
Enter redirect URL to "Authorized redirect URI" field: "https://domain.com/connect-with-vk"
Copy "App ID" and "Secure Key" values and enter these values from "Social Login Configuration"
section.
System Settings
Physical Products: You can enable & disable physical products with this option. Digital Products: You can enable & disable digital products with this option. Marketplace: You can enable & disable marketplace system with this option. If you disable this option, there won't be buy option in the site. Classified Ads: You can enable & disable classified ads system with this option. If you disable this option, seller cannot add their products without buy option. Bidding System: You can enable & disable bidding system with this option. Multi-Vendor System: If you disable multi-vendor system, only Admin can add products. VAT (Tax): You can enable & disable VAT in your site with this option. Commission Rate: You can set your commission rate for each sale in the site from this field. Admin comission will be automatically taken by the system. Timezone: You can set your timezone with this field.
Route Settings
You can change static routes in your site from this section.
You cannot use invalid & special characters in the routes. The system will remove the invalid character when you click the save changes button.
Editing Script Codes
Editing codes is not included in item support. If you want to edit the script codes, you need to edit the codes by yourself or you need to ask help from a PHP developer.
Editing HTML Codes
If you want to edit the HTML codes, you can edit the files in the "application/views" folder.
Header: You can edit header of the site in the "application/views/partials/_header.php" file. <head></head> tags are located in this file.
If you want to add something between these tags, you need to edit this file.
Index: You can edit homepage of the site in the "application/views/index.php" file.
Footer: You can edit footer of the site in the "application/views/partials/_footer.php" file.
Editing CSS Codes
If you want to edit the CSS codes, you can edit "assets/css/style.min.css" file. If you are using the Chrome browser, you need to reset the browser cache to see the changes.
Modesy has been developed with CodeIgniter Web Framework. If you need more technical details to edit the codes, you can read CodeIgniter documentation.
Update Guide
You can find all instructions to update your site from this section. If you don't know your current version, you can check it from the version.txt file in the main directory of your site.
Before starting the update, take a backup of your site. We are not responsible for any data loss. You can take a backup by downloading all the files in FTP to your computer and exporting your database via phpMyAdmin.
If you get an error after the update, this means that you have not followed the steps correctly. If you miss a step, you will see errors on your site. Please follow the steps carefully.
Update from v1.6.1 to v1.6.2
1. Open your FTP and replace these files with files in the version 1.6.2:
2. Upload "modesy-v1.6.2/assets/css/style-1.6.2.css" and "modesy-v1.6.2/assets/css/style-1.6.2.min.css" files to "/assets/css" folder in your FTP.
3. Upload "modesy-v1.6.2/application/third_party/intervention-image" folder to "/application/third_party" folder in your FTP.
4. Clear your browser cache. This is important. If you do not clear, your browser may continue to run old codes.
** If you don't want to update your site like this, you can update your site by following all steps in the Updating FTP Files (Click Here) section. If you update all your files with this method, your site will be updated to version 1.6.2.
Update from v1.6 to v1.6.1
Open your FTP and replace these files with files in the version 1.6.1:
Open old/application/language folder and copy your language folder(s) to application/language
Follow all steps in the Updating Database (Click Here) section. You can find update_database.php file in the "documentation/updates/Update from v1.5.x to v1.6.2" folder.
Clear your browser cache. This is important. If you do not clear, your browser may continue to run old codes.
Open old/application/language folder and copy your language folder(s) to application/language
Follow all steps in the Updating Database (Click Here) section. You can find update_database.php file in the "documentation/updates/Update from v1.4.x to v1.6.2" folder.
Clear your browser cache. This is important. If you do not clear, your browser may continue to run old codes.
Open old/application/language folder and copy your language folder(s) to application/language
Follow all steps in the Updating Database (Click Here) section. You can find update_database.php file in the "documentation/updates/Update from v1.3.x to v1.6.2" folder.
Clear your browser cache. This is important. If you do not clear, your browser may continue to run old codes.
Updating FTP Files
Open your cPanel and go to File Manager section.
Go to main directory of your site.
Create a new folder named "old". You can use another name. It won't make any differences.
Move all of your files to this folder.
Upload "codecanyon-modesy-buy-sell-used-stuff.zip" file to this directory.
Rigth click the .zip file and select "Extract" option.
Move all files that in the "modesy-v.." folder to main directory.
Delete unnecessary files/folders: "documentation", "uploads", "modesy-v..", "install" and "codecanyon-modesy-buy-sell-used-stuff.zip".
Copy old/uploads folder to main directory.
Open application/config/database.php file and enter your database credentials.
Updating Database
Upload update_database.php file to your main directory. You can find this file in the "documentation/updates" folder.
Open your browser and enter this URL: yourdomain.com/update_database.php
Example:
When you go to this URL, you will see an update wizard. Enter your license code and Click Update My Database button.
If you have forgotten your license code, you can get your license code by entering your "domain" and your "purchase code" from this page: Get License Code
After you see the success message, close this page and delete "update_database.php" file.
Comments
Modesy has comment approval system. Only approved comments will be published in the site. If you want to disable this system and publish directly all the comments, you can disable this system from "Preferences" section in the Admin panel.
Pending Comments
You can see and approve the pending comments from this section.
Approved Comments
You can see and delete the approved comments from this section.